* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
	div,p,span {
		
		-webkit-touch-callout: none; /* iOS Safari */
		
		-webkit-user-select: none; /* Chrome/Safari/Opera */
		
		-khtml-user-select: none; /* Konqueror */
		
		-moz-user-select: none; /* Firefox */
		
		-ms-user-select: none; /* Internet Explorer/Edge */
		
		user-select: none; /* Non-prefixed version, currently
		
		not supported by any browser */
	}
/* on the svg element set up a default value for the --stroke-dash and --stroke-dash-negative attributes
46 roughly being the length of the longest path.air
*/
#app{
	position: fixed;
	width: 100vw;
	height: 100vh;
	background: url(../image/back.gif) center/cover no-repeat;
	top: 0;
	left: 0;
}

body > svg {
  width: 600px;
  height: auto;
  --stroke-dash: 46;
  --stroke-dash-negative: -46;
}
/* animate the car to move slightly forwards and backwards */
g#car {
  transform: translateX(-3px);
  animation: translate 2s ease-in-out infinite;
}
/* animate the shadow to skew  toward the left */
path#shadow {
  animation: skew 2s ease-in-out infinite;
}
/* animate the wheels to spin  clockwise*/
g.wheels use {
  animation: rotate 2s linear infinite;
}
/* animate the dashes of air to briefly show them and then hide them from view */
path.air {
  /* starting from the values described by the --stroke-dash property
  ! the property is updated for each path in the script
  */
  stroke-dasharray: var(--stroke-dash);
  stroke-dashoffset: var(--stroke-dash);
  /* ! the delay of the animation is also set up in the script  */
  animation: offset 2s linear infinite;
  /* opacity to hide the obnoxious dots otherwise shown on firefox and edge */
  opacity: 0;
}

/* keyframe animations
! be sure to have the animations overlap as to show a realistic behavior
- as the car moves right the wheels spin faster, the shadow skews left, the dashes of air appear in sequence
- as the car moves left the wheels spin slower while the shadow returns to its resting place
*/
@keyframes translate {
  50% {
    transform: translateX(3px);
  }
  100% {
    transform: translateX(-3px);
  }
}
@keyframes skew {
  50% {
    transform: skewX(-20deg);
  }
}
@keyframes rotate {
  50% {
    transform: rotate(4turn);
  }
  100% {
    transform: rotate(6turn);
  }
}

/* beside animating the stroke-dashoffset property rapidly change the opacity to show the dashes and hide them when they are removed by changing the offset property
otherwise the dashes would still be partially visible on firefox and edge (at least)
*/
@keyframes offset {
  1% {
    opacity: 1;
  }
  15% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  24% {
    opacity: 1;
  }
  25% {
    opacity: 0;
    /* ! on chrome and firefox the calc() function allows to compute the negative value, but Edge seems to prefer having another variable instead */
    /* stroke-dashoffset: calc(var(--stroke-dash) * -1px); */
    stroke-dashoffset: var(--stroke-dash-negative);
  }
  100% {
    stroke-dashoffset: var(--stroke-dash-negative);
  }
}
			[v-cloak] {
				display: none;
			}
			.input,
			.content {
				outline: none;
				resize: none;
				width: 200px;
				height: 30px;
				padding: 5px;
				font-size: 14px;
				border-radius: 5px;
				border-color: transparent;
				box-shadow: 0 2px 2px rgba(10, 16, 20, .24), 0 0 2px rgba(10, 16, 20, .12);
			}

			.content {
				width: 100%;
				height: 300px;
				font-size: 17px;
			}

			.form-scroll{
				position: absolute;
				top: 0;
				left: 0;
				right: 0;
				bottom: 55px;
				display: flex;
				justify-content: center;
				overflow-y: auto;
			}
			
			.form {
				padding-top: 50px;
				width:500px;
				transition: all .3s;
			}

			.title {
				margin-top: 20px;
				margin-bottom: 8px;
				color: white;
				font-weight: bold;
			}

			.title:nth-of-type(1) {
				margin-top: 0;
				margin-bottom: 8px;
			}

			.file-btn {
				position: relative;
				width: 100px;
				height: 35px;
				line-height: 35px;
				border-radius: 4px;
				text-align: center;
				cursor: pointer;
				color: #ffffff;
				background-color: rgba(0, 191, 255, 1);
				overflow: hidden;
				transition: all .3s;
			}

			.file-btn:hover {
				background-color: rgba(0, 191, 255, 0.5);
			}

			.file-btn>input {
				position: absolute;
				border: 1px solid red;
				left: -80px;
				top: 0;
				bottom: 0;
				cursor: pointer;
				opacity: 0;
			}

			.file>div {
				width: 100%;
				margin-top: 10px;
				display: flex;
				justify-content: space-between;
				align-items: center;
			}

			.file>div .close {
				border-radius: 4px;
				background-color: #ff3636;
				font-size: 12px;
				padding: 4px 10px;
				color: #FFFFFF;
				cursor: pointer;
			}

			.file-btn-send {
				margin-top: 20px;
				display: flex;
				justify-content: flex-end;
			}
			.file-btn-send>.file-btn{
				margin-bottom: 80px;
			}

			.loading {
				position: fixed;
				left: 0;
				top: 0;
				bottom: 0;
				right: 0;
				display: flex;
				align-items: center;
				justify-content: center;
				transition: all .3s;
				background-color: rgba(0, 0, 0, 0.8);
				z-index: 99;
			}
			.footer{
				position: absolute;
				bottom: 10px;
				left: 0;
				right: 0;
				font-size: 16px;
				display: flex;
				justify-content: center;
				align-items: center;
				flex-direction: column;
				color: white;
				transition: all .3s;
			}
			.footer .span{
				cursor: pointer;
			}
			.file-name{
				color: white;
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 1;
				overflow: hidden;
				width: 300px;
				padding: 4px 10px;
				font-size: 12px;
				background-color: green;
				border-radius: 4px;
			}
			
			@media screen and (max-width: 600px) {
				.form{
					width: 300px;
				}
				.content{
					height: 200px;
				}
				.footer{
					font-size: 12px;
				}
				.file-name{
					width: 200px;
				}
			}


